package com.ververica.cdc.guass.source.jdbc;

import java.util.List;

public class TableSplit {

    private final String tableName;
    private final List<String> splitColumns;
    private final Object[] splitStart;
    private final Object[] splitEnd;
    private final String splitId;

    public TableSplit(String tableName, List<String> splitColumns, Object[] splitStart, Object[] splitEnd, String splitId) {
        this.tableName = tableName;
        this.splitColumns = splitColumns;
        this.splitStart = splitStart;
        this.splitEnd = splitEnd;
        this.splitId = splitId;
    }

    public String getSplitId() {
        return splitId;
    }

    public Object[] getSplitEnd() {
        return splitEnd;
    }

    public Object[] getSplitStart() {
        return splitStart;
    }

    public List<String> getSplitColumns() {
        return splitColumns;
    }

    public String getTableName() {
        return tableName;
    }
}
